package cn.stylefeng.guns.modular.basic.mapper;

import cn.stylefeng.guns.modular.basic.entity.BasicXlbOauth2token;
import cn.stylefeng.guns.modular.basic.model.params.BasicXlbOauth2tokenParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicXlbOauth2tokenResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 新零帮oauth2授权表 Mapper 接口
 * </p>
 *
 * @author zhucx
 * @since 2024-01-17
 */
public interface BasicXlbOauth2tokenMapper extends BaseMapper<BasicXlbOauth2token> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    List<BasicXlbOauth2tokenResult> customList(@Param("paramCondition") BasicXlbOauth2tokenParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BasicXlbOauth2tokenParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    Page<BasicXlbOauth2tokenResult> customPageList(@Param("page") Page page, @Param("paramCondition") BasicXlbOauth2tokenParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2024-01-17
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BasicXlbOauth2tokenParam paramCondition);

	List<BasicXlbOauth2tokenResult> findListBySpec(@Param("paramCondition")BasicXlbOauth2tokenParam param);

	BasicXlbOauth2tokenResult findBySpec(@Param("paramCondition")BasicXlbOauth2tokenParam param);

}
